import React from "react";
import { Row, Col } from "antd";
import Header from "../../compoment/layout/header";
import Footer from "../../compoment/layout/footer";
import NavLeft from "../../compoment/layout/navLeft";
import "./index.less";

export default class Admin extends React.Component {
	render() {
		return (
			<Row className="container">
				<Col span={3} className="nav-left">
					<NavLeft></NavLeft>
				</Col>
				<Col span={21} className="main">
					<Header title="头部" userName="Dean"></Header>
					<Row className="body">
						<div className="content">{this.props.children}</div>
					</Row>
					<Footer></Footer>
				</Col>
			</Row>
		);
	}
}
